package com.youlai.boot.system.service;

import com.youlai.boot.system.model.entity.LpsOrderLj;
import com.youlai.boot.system.model.form.LpsOrderLjForm;
import com.youlai.boot.system.model.query.LpsOrderLjQuery;
import com.youlai.boot.system.model.vo.LpsOrderLjVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 利居服务类
 *
 * @author lwb
 * @since 2025-07-18 14:53
 */
public interface LpsOrderLjService extends IService<LpsOrderLj> {

    /**
     *利居分页列表
     *
     * @return
     */
    IPage<LpsOrderLjVO> getLpsOrderLjPage(LpsOrderLjQuery queryParams);

    /**
     * 获取利居表单数据
     *
     * @param id 利居ID
     * @return
     */
     LpsOrderLjForm getLpsOrderLjFormData(Long id);

    /**
     * 新增利居
     *
     * @param formData 利居表单对象
     * @return
     */
    boolean saveLpsOrderLj(LpsOrderLjForm formData);

    /**
     * 修改利居
     *
     * @param id   利居ID
     * @param formData 利居表单对象
     * @return
     */
    boolean updateLpsOrderLj(Long id, LpsOrderLjForm formData);

    /**
     * 删除利居
     *
     * @param ids 利居ID，多个以英文逗号(,)分割
     * @return
     */
    boolean deleteLpsOrderLjs(String ids);

}
